package com.suyuan.dao;

import java.util.List;

import com.suyuan.entity.TransitBatchInfo;
import com.suyuan.entity.TransitBatchInfoExample;
import org.apache.ibatis.annotations.Param;

public interface TransitbatchInfoMapper {
    int countByExample(TransitBatchInfoExample example);

    int deleteByExample(TransitBatchInfoExample example);

    int deleteByPrimaryKey(Integer transitBatchId);

    int insert(TransitBatchInfo record);

    int insertSelective(TransitBatchInfo record);

    List<TransitBatchInfo> selectByExample(TransitBatchInfoExample example);

    TransitBatchInfo selectByPrimaryKey(Integer transitBatchId);

    int updateByExampleSelective(@Param("record") TransitBatchInfo record, @Param("example") TransitBatchInfoExample example);

    int updateByExample(@Param("record") TransitBatchInfo record, @Param("example") TransitBatchInfoExample example);

    int updateByPrimaryKeySelective(TransitBatchInfo record);

    int updateByPrimaryKey(TransitBatchInfo record);

    List<TransitBatchInfo> likeInquiry(@Param("batchId") String batchId,@Param("routeId") String routeId);

    void removeRouteId(@Param("routeId") Integer routeId);
}